<%--
  Created by IntelliJ IDEA.
  User: 20275
  Date: 2023/11/18
  Time: 16:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@include file="/pages/common/head.jsp"%>

<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">调寝申请</h1>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    调寝申请 >> 申请进度
                </div>
                <div class="panel-body">

                    <div style=" overflow-x: auto;white-space: nowrap;">
                        <div class="row">

                            <div class="col-lg-4">
                                <div class="input-group">

                                    <input type="text" class="form-control" id="find_title_input" placeholder="未开发">
                                    <span class="input-group-btn">
													<button class="btn btn-default" id="find_title_button" type="button">查找</button>
												</span>
                                </div>
                            </div>
                            <div class="col-lg-4" style="visibility: hidden;"></div>
                            <div class="col-lg-4" style="visibility: hidden;"></div>
                        </div>
                        <br />
                        <table width="100%" class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr>
                                <th>#</th>
                                <th>姓名</th>
                                <th>联系电话</th>
                                <th>原宿舍楼</th>
                                <th>原楼层</th>
                                <th>原宿舍号</th>
                                <th>新宿舍楼</th>
                                <th>新楼层</th>
                                <th>新宿舍号</th>
                                <th>状态</th>
                                <th>描述</th>
                            </tr>
                            </thead>
                            <tbody>
                                <c:forEach varStatus="i" items="${TransferInfos}" var="Info">
                                    <tr>
                                        <td>${i.index + 1}</td>
                                        <td style="display: none">${Info.applyOtherChamberId}</td>
                                        <td>${Info.studentName}</td>
                                        <td>${Info.applyChamberPhone}</td>
                                        <td style="color: orange;">${Info.applyChamberFloor}</td>
                                        <td style="color: orange;">${Info.applyChamberFloorNumber}层</td>
                                        <td style="color: orange;">${Info.applyChamberNumber}</td>
                                        <td style="color: purple;">${Info.newChamberFloorName}</td>
                                        <td style="color: purple;">${Info.applyChamberNewFloorNumber}层</td>
                                        <td style="color: purple;">${Info.newChamberHotelNumber}</td>
                                        <c:if test="${Info.applyChamberSchedule == '申请中'}">
                                            <td style="color: blue;">${Info.applyChamberSchedule}</td>
                                        </c:if>
                                        <c:if test="${Info.applyChamberSchedule == '申请成功'}">
                                            <td style="color: green;">${Info.applyChamberSchedule}</td>
                                        </c:if>
                                        <c:if test="${Info.applyChamberSchedule == '申请失败'}">
                                            <td style="color: red;">${Info.applyChamberSchedule}</td>
                                        </c:if>
                                        <td style="color: purple;">${Info.applyDetail}</td>
                                    </tr>
                                </c:forEach>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>

    </div>

</div>


<script>

</script>

<%@include file="/pages/common/foot.jsp" %>
